<?php
require_once ('system/plugins/sms/PHP/includeSettings.php');

    function send_sms($sms_msg,$to_numbers,$sender)  
    {      
$mobile = "962786408810";							//ÇÓã ÇáãÓÊÎÏã ãä ãæÈÇíáí
$password = "159123";							//ÇáÈÇÓæÑÏ  ãä ãæÈÇíáí

$MsgID = rand(1,99999);					//ÑÞã ÚÔæÇÆí íÊã ÅÑÝÇÞå ãÚ ÇáÅÑÓÇáíå¡ Ýí ÍÇá ÇáÑÛÈÉ ÈÅÑÓÇá äÝÓ ÇáÅÑÓÇáíå Ýí ÃÞá ãä ÓÇÚå ãä ÅÑÓÇá ÇáÑÓÇáå ÇáÃæáì.
										//ãæÞÚ ãæÈÇíáí íãäÚ ÊßÑÇÑ ÅÑÓÇá äÝÓ ÇáÑÓÇáå ÎáÇá ÓÇÚå ãä ÅÑÓÇáåÇ¡ ÅáÇ Ýí ÍÇá Êã ÅÑÓÇá ÞíãÉ ãÎÊáÝå ãÚ ßá ÅÑÓÇáíå.
										
$timeSend = 0;							//áÊÍÏíÏ æÞÊ ÇáÅÑÓÇáíå - 0 ÊÚäí ÇáÅÑÓÇá ÇáÂä
										//ÇáÔßá ÇáÞíÇÓí ááæÞÊ åæ hh:mm:ss

$dateSend = 0;							//áÊÍÏíÏ ÊÇÑíÎ ÇáÅÑÓÇáíå - 0 ÊÚäí ÇáÅÑÓÇá ÇáÂä
										//ÇáÔßá ÇáÞíÇÓí ááÊÇÑíÎ åæ mm/dd/yyyy
										
$deleteKey = 152485;					//íãßäß ãä ÎáÇá åÐå ÇáÞíãÉ  ÇáÞíãå íãßäß ãä ÎáÇáåÇ ÍÐÝ ÇáÑÓÇáå ãä ÎáÇá ÈæÇÈÉ ÍÐÝ ÇáÑÓÇÆá.
										//íãßäß ÊÍÏíÏ ÑÞã æÇÍÏ áãÌãæÚå ãä ÇáÅÑÓÇáíÇÊ¡ ÈÍíË íÊã ÍÐÝåÇ ÏÝÚå æÇÍÏå.
										
$resultType = 0;						//ÏÇáÉ ÊÍÏíÏ äæÚ ÇáäÊíÌå ÇáÑÇÌÚå ãä ÇáÈæÇÈÉ
										//0: ÅÑÌÇÚ ÇáäÊíÌå ßãÇ åí Ýí ÇáÈæÇÈÉ
										//1: ÅÑÌÇÚ ãÚäì ÇáäÊíÌå ÇáÑÇÌÚå ãä ÇáÈæÇÈÉ											

// ÏÇáÉ ÇáÅÑÓÇá
     echo    $sms=sendSMS($mobile, $password, $to_numbers, $sender, $sms_msg, $MsgID, $timeSend, $dateSend, $deleteKey, $resultType);
     
     return $sms;
    }
